package top.yuhaitao.core.enums;

import lombok.Getter;

/**
 * 商品状态
 *
 * @author ocean
 * @time 2018年8月5日下午2:49:36
 */

@Getter
public enum ProductInfostatus {

    UP(1, "在售"), DOWN(0, "下架");

    public Integer status;

    public String message;

    private ProductInfostatus(Integer status, String message) {
        this.status = status;
        this.message = message;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

}
